package top.revery.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.RestController;

/**
 * <h1> ---  --- </h1>
 * Created by  revery.top jun
 * Date  2019-12-04 22:51
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
@EntityScan("top.revery.api.advice")
//@SpringBootApplication(scanBasePackages = {"top.revery.admin","top.revery.api.advice"})
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class,args);
    }
}
